//  [9/25/2013 OMEGA] created

#ifndef _DUELASSEEDITARCHIVECMD_H_
#define _DUELASSEEDITARCHIVECMD_H_


#include <QtWidgets/QUndoCommand>
#include "DuelAssECommon.h"
#include "DuelAssECommand.h"

class DAssEAddArchiveCmd : public DAssECommand
{
public:
	DAssEAddArchiveCmd(DAssEWorkbench* workbench, QUndoCommand* parent,
		const QString& archiveName);
	virtual ~DAssEAddArchiveCmd();

	virtual void	redo();
	virtual void	undo();

protected:
	QString				mTargetArchiveName;
};

class DAssERemoveArchiveCmd : public DAssECommand
{
public:
	DAssERemoveArchiveCmd(DAssEWorkbench* workbench, QUndoCommand* parent,
		const QString& archiveName);
	virtual ~DAssERemoveArchiveCmd();

	virtual void	redo();
	virtual void	undo();

protected:
	QString				mTargetArchiveName;
// 	DuelAssetEditor*	mParent;
// 	QList<QUndoCommand*>	mDetachGrpCmdList;
// 	QUndoCommand*		mRemoveResCmd;

};

#endif // !_DUELASSEEDITARCHIVECMD_H_
